package com.heima.behavior.service;

import com.heima.behavior.dtos.CollectionBehaviorDto;
import com.heima.behavior.dtos.LikesBehaviorDto;
import com.heima.behavior.dtos.UnLikesBehaviorDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

public interface ApLikesBehaviorService  {
    /**
     * 存储喜欢数据
     * @param dto
     * @return
     */
	public ResponseResult like(LikesBehaviorDto dto);

    /**
     * 喜欢/不喜欢
     * @param dto
     * @return
     */
    public ResponseResult unLikes(UnLikesBehaviorDto dto);

    /**
     * 收藏
     * @param dto
     * @return
     */
    public ResponseResult collection(CollectionBehaviorDto dto);
}